package com.ocom.devicehttp.feign.machine;

import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.entity.master.EntityWechatPerInfo;
import com.ocom.common.request.human.PersonQueryRequest;
import com.ocom.common.request.human.RegisterPalmRequest;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.human.UserInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "human")
public interface HumanClientService {

    @PostMapping(HumanServiceUrl.URL_registerPalm)
    public Result registerPalm(@RequestBody RegisterPalmRequest request);


    @PostMapping(HumanServiceUrl.URL_getPersonInfoByPalm)
    public Result getPersonInfoByPalm(@RequestBody PersonQueryRequest request);

}
